package com.hsc.www.devtools;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;

@RestController

public class PeController {

    @GetMapping("/getUser")
    public Object getUser(
            String name,
            Integer age) {
        System.out.println("dd779777777777777777799999999999999999999999999977777dddd");

        return new HashMap<String, Object>() {{
            put("name", name);
            put("age", age);
        }};
    }
}